package com.mtsmda.chapter3.initBlocks;

public class SubInitBlockClass extends SuperInitBlockClass{

	protected static final String NAME_SUB_CLASS = "SubInitBlockClass";
	
	public SubInitBlockClass() {
		System.out.println("empty constructor " + NAME_SUB_CLASS);
	}
	
	public SubInitBlockClass(int i) {
		System.out.println("int i constructor " + NAME_SUB_CLASS + " " + i);
	}
	
	{
		System.out.println("first instance init block " + NAME_SUB_CLASS);
	}
	
	{
		System.out.println("second instance init block " + NAME_SUB_CLASS);
	}
	
	static{
		System.out.println("first static init block " + NAME_SUB_CLASS);
	}
	
	static{
		System.out.println("second static init block " + NAME_SUB_CLASS);
	}
	
}